package net.bwie.dy.realtime.service.dyraeltimeservice.service;



import net.bwie.dy.realtime.service.dyraeltimeservice.bean.*;
import net.bwie.dy.realtime.service.dyraeltimeservice.mapper.TikTokLiveStreamMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @ClassName：TikTokLiveStreamServiceImpl
 * @Author: Vvn
 * @Date: 2025/5/28 10:34
 * @Description: 必须描述类做什么事情, 实现什么功能
 */

@Service
public class TikTokLiveStreamServiceImpl implements TikTokLiveStreamService {

    @Autowired
    private TikTokLiveStreamMapper tikTokLiveStreamMapper;

    @Override
    public List<OnlineUserCountResult> getOnlineUserCount(String date) {
        return tikTokLiveStreamMapper.getOnlineUserCount(date);
    }

    @Override
    public List<GiftIncomeResult> getGiftIncome(String date) {
        return tikTokLiveStreamMapper.getGiftIncome(date);
    }

    @Override
    public List<MessagePopularityResult> getMessagePopularity(String date) {
        return tikTokLiveStreamMapper.getMessagePopularity(date);
    }

    @Override
    public List<AlertGiftResult> getAlertGift(String date) {
        return tikTokLiveStreamMapper.getAlertGift(date);
    }

    @Override
    public List<MessageCheckResult> getMessageCheck(String date) {
        return tikTokLiveStreamMapper.getMessageCheck(date);
    }
}
